import argparse
import tqdm

def get_parser():
    parser = argparse.ArgumentParser(description="input argument")

    parser.add_argument(
        "--input",
        nargs="+",
        help="A list of space separated input images; "
        "or a single glob pattern such as 'directory/*.jpg'",
    )

    return parser


if __name__ == "__main__":
    args = get_parser().parse_args()

    #print(f"args.input = {args.input}")

    if args.input:
        if len(args.input) == 1:
            print(f"args.input[0] = {args.input[0]}")
        for path in tqdm.tqdm(args.input):
            print(f"path={path}")
